Defines a linear damper opposing only joint-axis twist rate.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public | :: | damping | = | 0.0d0 |
The torque per unit relative angular velocity. |
|
| integer(kind=int32), | public | :: | joint_index | = | 0 |
The one-based revolute-joint index whose axis the element uses. |
Evaluates the resisting torque produced by a linear torsional damper.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(torsional_damper), | intent(in) | :: | this |
The damper whose damping coefficient defines the torque law. |
||
| real(kind=real64), | intent(in) | :: | angle |
The relative joint angle and angular rate. The angle is unused by this law. |
||
| real(kind=real64), | intent(in) | :: | angle_rate |
The relative joint angle and angular rate. The angle is unused by this law. |
The signed torque applied to the child body about the joint axis.